﻿<UserControl x:Class="NIPOStarterWPF.View.PluginView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Converters="clr-namespace:NIPOStarterWPF.Converters">
    <Grid >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Image Width="32" Height="32" Grid.Column="0">
            <Image.Source>
                <Binding>
                    <Binding.Converter>
                        <Converters:TypeToImageConverter />
                    </Binding.Converter>
                </Binding>
            </Image.Source>
        </Image>
        <TextBlock Text="{Binding Name}" Grid.Column="1"/>
        <Grid.ToolTip>
            <TextBlock Text="{Binding Description}" />
        </Grid.ToolTip>
    </Grid>
</UserControl>
